package com.example.ssm.service;

import com.example.ssm.QueryVO;
import com.example.ssm.pojo.Customer;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
    public List<Customer> list();

    public List<Customer> list(QueryVO queryVO);

    public PageInfo<Customer> list_bak(QueryVO queryVO);

    //增加
    void addCustomer(Customer customer);
    // 查询
    Customer queryCustomerById(Long id);
    // 修改
    void updateCustomerById(Customer customer);
    // 删除
    void deleteCustomerById(Long id);
}
